#ifndef _WX_XH_SPIN_H_
#define _WX_XH_SPIN_H_

#include "wx/xrc/xmlres.h"

class wxSpinButtonXmlHandler : public wxXmlResourceHandler {
    DECLARE_DYNAMIC_CLASS( wxSpinButtonXmlHandler )
    enum {
      wxSP_DEFAULT_VALUE = 0,
      wxSP_DEFAULT_MIN = 0,
      wxSP_DEFAULT_MAX = 100
    };
  public:
    wxSpinButtonXmlHandler();
    virtual wxObject *DoCreateResource();
    virtual bool CanHandle( wxXmlNode *node );
};

class wxSpinCtrlXmlHandler : public wxXmlResourceHandler {
    DECLARE_DYNAMIC_CLASS( wxSpinCtrlXmlHandler )
    enum {
      wxSP_DEFAULT_VALUE = 0,
      wxSP_DEFAULT_MIN = 0,
      wxSP_DEFAULT_MAX = 100
    };
  public:
    wxSpinCtrlXmlHandler();
    virtual wxObject *DoCreateResource();
    virtual bool CanHandle( wxXmlNode *node );
};

#endif
